GtkScaleButton: Add a style class to the scale button popover
authorMatthias Clasen <mclasen@redhat.com>
Tue, 8 Jul 2014 14:44:30 +0000 (10:44 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 8 Jul 2014 14:47:01 +0000 (10:47 -0400)
Set the .scale-popup style class on the popover of scale buttons.
This lets us select the +/- buttons and style them appropriately.

gtk/resources/ui/gtkscalebutton.ui

index f64ebd8d7b06cf26242c3184e1d583f47d285330..c48c052709307e3c77c706bca63bcbd604f508dd 100644 (file)
@@ -23,6 +23,9 @@
   </object>
   <object class="GtkPopover" id="dock">
     <signal name="map" handler="cb_popup_mapped" swapped="no"/>
+    <style>
+      <class name="scale-popup"/>
+    </style>
     <child>
       <object class="GtkBox" id="box">
         <property name="visible">True</property>